package top.clydezhou.lab.demo.springcloud.client.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import top.clydezhou.lab.demo.springcloud.client.config.DemoApiConstants;

@FeignClient("${demo.discoverClient.serverId}")
public interface IConsumerDemoClient {

    @GetMapping(DemoApiConstants.DISCOVER_CLIENT_API)
    String consumer();
}
